home *** CD-ROM | disk | FTP | other *** search
/ Language/OS - Multiplatform Resource Library / LANGUAGE OS.iso / cpp_libs / csim / source.lha / source / C++SIM / ProcessCons.n < prev    next >
Text File  |  1993-06-14  |  497b  |  42 lines

  1. /*
  2.  * Copyright (C) 1993
  3.  *
  4.  * Department of Computing Science,
  5.  * The University,
  6.  * Newcastle upon Tyne,
  7.  * UK.
  8.  */
  9.  
  10.  
  11. #if defined(NO_INLINES) && !defined(PROCESSCONS_CC_)
  12.  
  13. #else
  14.  
  15. #ifndef NO_INLINES
  16. #  define INLINEF inline
  17. #else
  18. #  define INLINEF
  19. #endif
  20.  
  21. INLINEF Process *ProcessCons::car ()
  22. {
  23.     return Proc;
  24. }
  25.  
  26. INLINEF ProcessCons *ProcessCons::cdr ()
  27. {
  28.     return Next;
  29. }
  30.  
  31. INLINEF void ProcessCons::SetfCdr (ProcessCons *n)
  32. {
  33.     Next = n;
  34. }
  35.  
  36.  
  37. #ifdef INLINEF
  38. #  undef INLINEF
  39. #endif
  40.  
  41. #endif
  42.